package com.gakj.truck.third.api.mapper;

import com.gakj.truck.third.core.annotation.MyBatisMapper;
import com.gakj.truck.third.core.domain.PurchaseTruck;
import org.apache.ibatis.annotations.Param;

/**
 * Created by gc on 2016/7/12.
 */
@MyBatisMapper
public interface PurchaseTruckMapper {

    PurchaseTruck getSingle(@Param(value = "id") Long id);

    Long save(PurchaseTruck truck);

    void update(PurchaseTruck truck);

}
